﻿using System;

namespace CompactMapper.Orm.Extensions
{
    internal static class SqlExtensions
    {
        public static String ToSqlTableName(this String tableName)
        {
            return String.Format("[{0}]", tableName);
        }

        public static String ToSqlColumn(this string columnName)
        {
            return String.Format("[{0}]", columnName);
        }

        public static String ToSqlValue(this string columnName)
        {
            return String.Format("@{0}", columnName);
        }
    }
}